package com.threeti.jiayusms.infrastructure.communicationfunction;

import java.util.List;

import com.threeti.jiayusms.domain.model.CommunicationFunction;
import com.threeti.jiayusms.framework.dao.GenericCustomKeyDao;
import com.threeti.jiayusms.framework.util.DynaSearchCriteria;
import com.threeti.jiayusms.framework.util.PagedListHandler;

public interface CommunicationFunctionDao extends GenericCustomKeyDao<String, CommunicationFunction>{

	PagedListHandler<CommunicationFunction> findAllFunctionTemplatesByPage(int currentPageIndex, int startingIndex);

	PagedListHandler<CommunicationFunction> findFunctionTemplatesByPage(DynaSearchCriteria dynaSearchCriteria, int currentPageIndex, int startingIndex);
}
